﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for Customer
/// </summary>
public class Customer
{
    private int customer_id;
    private string first_name;
    private string last_name;
    private string email;
    private string password;
    private string address;
    private string city;
    private string phone;
    private int customer_group_id;
    private DateTime date_added;
#region Properties

    public DateTime Date_added
    {
        get { return date_added; }
        set { date_added = value; }
    }

    public int Customer_group_id
    {
        get { return customer_group_id; }
        set { customer_group_id = value; }
    }

    public string Phone
    {
        get { return phone; }
        set { phone = value; }
    }
 
    public string City
    {
        get { return city; }
        set { city = value; }
    }
 
    
    public string Address
    {
        get { return address; }
        set { address = value; }
    }
    public int Customer_id
    {
        get { return customer_id; }
        set { customer_id = value; }
    }
    
    public string First_name
    {
        get { return first_name; }
        set { first_name = value; }
    }    

    public string Last_name
    {
        get { return last_name; }
        set { last_name = value; }
    }    

    public string Email
    {
        get { return email; }
        set { email = value; }
    }    

    public string Password
    {
        get { return password; }
        set { password = value; }
    }
#endregion


	public Customer()
	{
        this.customer_id = 0;
        this.first_name = "";
        this.last_name = "";
        this.email = "";
        this.password = "";
        this.address = "";
        this.city = "";
        this.phone = "";
        this.customer_group_id = 1;
        this.date_added = DateTime.Now;
	}


    public Customer(int customer_id, string first_name, string last_name, string email, string password,string address,string city,string phone,int customer_group_id,DateTime date_added)
    {
        this.customer_id = customer_id;
        this.first_name = first_name;
        this.last_name = last_name;
        this.email = email;
        this.password = password;
        this.address = address;
        this.city = city;
        this.phone = phone;
        this.customer_group_id = customer_group_id;
        this.date_added = date_added;
    }
}